﻿<Window x:Class="SDB.Login"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Login" Height="230" Width="400" ResizeMode="NoResize" 
    WindowStyle="ToolWindow" ShowInTaskbar="False" FontFamily="Segoe" 
    FontSize="16" WindowStartupLocation="CenterScreen" Background="Transparent">
    <Grid Name="InnerGrid">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="250" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="25" />
        </Grid.RowDefinitions>
        <Grid Grid.Column="0" Grid.Row="0" Name="LeftGrid">
            <Image Source="images\squirrel2.png">
                <Image.BitmapEffect>
                    <OuterGlowBitmapEffect GlowColor="White" />
                </Image.BitmapEffect>
            </Image>
        </Grid>
        <StackPanel Name="InputPanel" Grid.Row="0" Grid.Column="1" Background="White" Margin="0,10,10,10">
            <StackPanel Orientation="Horizontal" Margin="0,4,0,2">
                <Label Content="Username" Width="70">
                    <Label.BitmapEffect>
                        <OuterGlowBitmapEffect GlowColor="White" />
                    </Label.BitmapEffect>
                </Label>
                <TextBox Name="txtUsername" Width="160" TabIndex="0" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0,2,0,2">
                <Label Content="Password" Width="70">
                    <Label.BitmapEffect>
                        <OuterGlowBitmapEffect GlowColor="White" />
                    </Label.BitmapEffect>
                </Label>
                <PasswordBox Name="txtPassword" PasswordChar="*" Width="160" TabIndex="2" />
            </StackPanel>
            <CheckBox Name="chkImpersonate" Content="Associate Windows Login" Margin="70,2,0,2" TabIndex="3" />
            <CheckBox Name="chkRemember" Content="Remember Me" Margin="70,2,0,2" TabIndex="4" />
            <Button Name="btnLogin" Width="100" Content="Login" Margin="0,10,0,2" TabIndex="5" IsDefault="True" />
        </StackPanel>
        <ProgressBar Margin="3" Name="pbWorking" Visibility="Hidden" Grid.Row="1" Grid.ColumnSpan="2" IsIndeterminate="True" />
    </Grid>
</Window>
